package util;

import org.hibernate.cfg.Configuration;
import org.hibernate.dialect.H2Dialect;

public class SchemaGenerator {

    public static void main(String[] args) {
        Configuration configuration = new Configuration().configure();
        String[] strings = configuration.generateSchemaCreationScript(new H2Dialect());
        for (String string : strings) {
            System.out.println(string);
        }

    }

}
